<?php

namespace App\Http\Controllers\Sub;

use App\Module\Sub\SubAuthorityModule;
use Illuminate\Http\Request;
use App\Http\Controllers\BaseController;

class SubAuthorityController extends BaseController
{
    public function init(Request $request){
        $this->run(SubAuthorityModule::class,'init',$request);
        return $this->response();
    }

    public function add(Request $request){
        $this->run(SubAuthorityModule::class,'add',$request);
        return $this->response();
    }
    public function edit(Request $request){
        $this->run(SubAuthorityModule::class,'edit',$request);
        return $this->response();
    }

    public function del(Request $request){
        $this->run(SubAuthorityModule::class,'del',$request);
        return $this->response();
    }

    public function list(Request $request){
        $this->run(SubAuthorityModule::class,'list',$request);
        return $this->response();
    }

}
